package com.ruoyi.merchant.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 供应商单位对象 ims_veh_supplier_unit
 * 
 * @author ruoyi
 * @date 2024-07-09
 */
public class ImsVehSupplierUnit extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    private Long id;

    /** 企业全称 */
    @Excel(name = "企业全称")
    private String supplierUnitName;

    /** 法人姓名 */
    @Excel(name = "法人姓名")
    private String comContactName;

    /** 法人身份证 */
    @Excel(name = "法人身份证")
    private String comContactIdCard;

    /** 法人地址 */
    @Excel(name = "法人地址")
    private String comContactAddr;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date addTime;

    /** 统一社会信用代码 */
    @Excel(name = "统一社会信用代码")
    private String socialCreditCode;

    /** 注册时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "注册时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date regTime;

    /** 企业地址 */
    @Excel(name = "企业地址")
    private String comAddress;

    /** 企业邮箱 */
    @Excel(name = "企业邮箱")
    private String comEmail;

    /** 注册资金 */
    @Excel(name = "注册资金")
    private String regAmount;

    /** 微信商户号 */
    @Excel(name = "微信商户号")
    private String merchantId;

    /** 银行开户支行 */
    @Excel(name = "银行开户支行")
    private String openingBank;

    /** 银行账户 */
    @Excel(name = "银行账户")
    private String bankAccount;

    /** 工商营业执照 */
    //@Excel(name = "工商营业执照")
    private String compics;

    /** 姓名 */
    @Excel(name = "姓名")
    private String personName;

    /** 手机号 */
    @Excel(name = "手机号")
    private String personTel;

    /** 邮箱 */
    @Excel(name = "邮箱")
    private String personEmail;

    /** 地址 */
    @Excel(name = "地址")
    private String personAddr;

    /** 快递地址 */
    //@Excel(name = "快递地址")
    private String expressAddr;

    /** 类型 */
    //@Excel(name = "类型")
    private Integer unitType;

    /** 部门ID */
    private Long deptId;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    public String getDelFlag() {
        return delFlag;
    }

    public void setDelFlag(String delFlag) {
        this.delFlag = delFlag;
    }

    public Long getDeptId() {
        return deptId;
    }

    public void setDeptId(Long deptId) {
        this.deptId = deptId;
    }

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setSupplierUnitName(String supplierUnitName) 
    {
        this.supplierUnitName = supplierUnitName;
    }

    public String getSupplierUnitName() 
    {
        return supplierUnitName;
    }
    public void setComContactName(String comContactName) 
    {
        this.comContactName = comContactName;
    }

    public String getComContactName() 
    {
        return comContactName;
    }
    public void setComContactIdCard(String comContactIdCard) 
    {
        this.comContactIdCard = comContactIdCard;
    }

    public String getComContactIdCard() 
    {
        return comContactIdCard;
    }
    public void setComContactAddr(String comContactAddr) 
    {
        this.comContactAddr = comContactAddr;
    }

    public String getComContactAddr() 
    {
        return comContactAddr;
    }
    public void setAddTime(Date addTime) 
    {
        this.addTime = addTime;
    }

    public Date getAddTime() 
    {
        return addTime;
    }
    public void setSocialCreditCode(String socialCreditCode) 
    {
        this.socialCreditCode = socialCreditCode;
    }

    public String getSocialCreditCode() 
    {
        return socialCreditCode;
    }
    public void setRegTime(Date regTime) 
    {
        this.regTime = regTime;
    }

    public Date getRegTime() 
    {
        return regTime;
    }
    public void setComAddress(String comAddress) 
    {
        this.comAddress = comAddress;
    }

    public String getComAddress() 
    {
        return comAddress;
    }
    public void setComEmail(String comEmail) 
    {
        this.comEmail = comEmail;
    }

    public String getComEmail() 
    {
        return comEmail;
    }

    public String getRegAmount() {
        return regAmount;
    }

    public void setRegAmount(String regAmount) {
        this.regAmount = regAmount;
    }

    public void setMerchantId(String merchantId)
    {
        this.merchantId = merchantId;
    }

    public String getMerchantId() 
    {
        return merchantId;
    }
    public void setOpeningBank(String openingBank) 
    {
        this.openingBank = openingBank;
    }

    public String getOpeningBank() 
    {
        return openingBank;
    }
    public void setBankAccount(String bankAccount) 
    {
        this.bankAccount = bankAccount;
    }

    public String getBankAccount() 
    {
        return bankAccount;
    }
    public void setCompics(String compics) 
    {
        this.compics = compics;
    }

    public String getCompics() 
    {
        return compics;
    }
    public void setPersonName(String personName) 
    {
        this.personName = personName;
    }

    public String getPersonName() 
    {
        return personName;
    }
    public void setPersonTel(String personTel) 
    {
        this.personTel = personTel;
    }

    public String getPersonTel() 
    {
        return personTel;
    }
    public void setPersonEmail(String personEmail) 
    {
        this.personEmail = personEmail;
    }

    public String getPersonEmail() 
    {
        return personEmail;
    }
    public void setPersonAddr(String personAddr) 
    {
        this.personAddr = personAddr;
    }

    public String getPersonAddr() 
    {
        return personAddr;
    }


    public String getExpressAddr() {
        return expressAddr;
    }

    public void setExpressAddr(String expressAddr) {
        this.expressAddr = expressAddr;
    }

    public void setUnitType(Integer unitType)
    {
        this.unitType = unitType;
    }

    public Integer getUnitType() 
    {
        return unitType;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("supplierUnitName", getSupplierUnitName())
            .append("comContactName", getComContactName())
            .append("comContactIdCard", getComContactIdCard())
            .append("comContactAddr", getComContactAddr())
            .append("addTime", getAddTime())
            .append("socialCreditCode", getSocialCreditCode())
            .append("regTime", getRegTime())
            .append("comAddress", getComAddress())
            .append("comEmail", getComEmail())
            .append("regAmount", getRegAmount())
            .append("merchantId", getMerchantId())
            .append("openingBank", getOpeningBank())
            .append("bankAccount", getBankAccount())
            .append("compics", getCompics())
            .append("personName", getPersonName())
            .append("personTel", getPersonTel())
            .append("personEmail", getPersonEmail())
            .append("personAddr", getPersonAddr())
            .append("expressAddr", getExpressAddr())
            .append("unitType", getUnitType())
            .toString();
    }
}
